<script type="text/javascript">
	$(function(){
		//退出
		$("#logout").click(function(){
			jQuery.get("/Wyn/login/logout",function(data){
				if(data == "true"){
					window.location="/Wyn/login/input";
				}
			});
		});
		//首页
		$("#showHomeMenu").click(function(){
			jQuery.get("/Wyn/home/goHome",
				function(data){
					$("#opi").html(data);
				});
		})
		//个人主页
		$("#showProfileMenu").click(function(){
			jQuery.get("/Wyn/profile/goProfile",
				function(data){
					$("#opi").html(data);
				});
		})
		//好友
		$("#showFriendMenu").click(function(){
			jQuery.get("/Wyn/friend/goFriend",
				function(data){
					$("#opi").html(data);
				});
		});
	});
</script>
<input type="button" id="logout" value="退出" />
<div id="navBar" class="site-nav rr">
	<div class="navigation-wrapper">
		<div class="navigation navigation-new clearfix">
			<div class="nav-body clearfix">
				<div class="nav-main">
					<div class="menu">
						<div class="menu-title">
							<a id="showHomeMenu" stats="Hd_home" accesskey="1"
								href="#logo"> 首页<span
								class="drop-menu-btn"></span>
							</a>
						</div>
					</div>
					<div class="menu">
						<div id="profileMenuActive" class="menu-title with-drop-menu">
							<a id="showProfileMenu" accesskey="2" stats="Hd_Profile"
								href="#logo" class=" ">
								个人主页<span class="drop-menu-btn " id="profileDropMenu"></span>
							</a>
						</div>
					</div>
					<div class="menu">
						<div class="menu-title with-drop-menu" id="friendMenuActive">
							<a id="showFriendMenu" accesskey="3" stats="Hd_frd"
								href="#logo" class=" ">好友<span
								class="drop-menu-btn " id="friendDropMenu"></span></a>
						</div>
					</div>
				</div>
				<div class="nav-other">
					<div class="menu">
						<div class="menu-title" id="searchMenuAction">
							<a accesskey="7"
								href="http://browse.renren.com/search.do?_sgrf=navi"
								onmouseover="" stats="Hd_sMenu">搜索</a>
						</div>
					</div>

					<div id="navSearch">
						<form method="post" id="globalSearchForm"
							action="http://browse.renren.com/searchEx.do?from=opensearch">
							<div id="search-input">
								<input stats="Hd_sInput" type="text" size="25" maxlength="100"
									id="navSearchInput" accesskey="/" name="q" class="input-text"
									value="" tabindex="1" style="color: rgb(51, 51, 51);"
									autocomplete="off">
							</div>
							<div id="search-submit">
								<a stats="Hd_sBtn" id="navSearchSubmit" class="submit"
									href="http://browse.renren.com/search.do?_sgrf=navi">搜索</a>
							</div>
							<input type="hidden" name="requestToken" value="-1673328086"><input
								type="hidden" name="_rtk" value="68040884">
						</form>
					</div>
					<div class="menu account-action" id="accountMenu">
						<div class="menu-title">
							<a href="#" onclick="return false;">帐号</a>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>